package cn.enilu.flash.bean.entity.bus;

import cn.enilu.flash.bean.entity.BaseEntity;
import lombok.Data;
import org.hibernate.annotations.Table;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;

@Entity(name="t_bus_foods")
@Table(appliesTo = "t_bus_foods",comment = "菜品")
@Data
@EntityListeners(AuditingEntityListener.class)
public class Foods extends BaseEntity {

    private String foodName;

    private String foodPrice;

    private String foodImg;

    private String state;

    private String doublePrice;

}
